#ifndef SQUARE_H
#define SQUARE_H

#include"myfirst.h"

class MYFIRSTSHARED_EXPORT Square: public Figure
{
private:
    float a,x1,x2,turn;
public:
    Square(float first);
    Square(float firts,float firstPosition,float secondPosition,float povorot);
    float perimetr();
    float ploshadb();
    QString print_name();
    QList <QString> print_inf();
    void chengeKoordinat(float firstX,float secondX);
};

#endif // SQUARE_H
